package com.dcy.strategy.demo;

/**
 * @Author：dcy
 * @Description:
 * @Date: 2021/2/2 8:44
 */
public class PekingDuck extends Duck {

    public PekingDuck() {
        flyBehavior = new BadFlyBehavior();
    }


    @Override
    public void display() {
        System.out.println("~~北京鸭~~~");
    }
}
